Cleanup leftover code in gtkplug-x11
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 10 Jan 2011 22:11:42 +0000 (23:11 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 10 Jan 2011 22:52:02 +0000 (23:52 +0100)
This code was part of the GdkDeviceManagerCore hack

gtk/gtkplug-x11.c

index e7d8b4c6a5cf48d34c1ed931f9a7a479b1812d14..4e1a7b14298be453acd493916c8c8328a9763cff 100644 (file)
 
 #include "config.h"
 
-#if 0
-#ifdef XINPUT_2
-
-/* Hack to have keyboard events interpreted
- * regardless of the default device manager
- */
-#define GDK_COMPILATION
-#include "x11/gdkdevicemanager-core.h"
-#include "x11/gdkdevicemanager-xi2.h"
-#include "x11/gdkeventtranslator.h"
-#undef GDK_COMPILATION
-
-#endif /* XINPUT_2 */
-#endif
-
 #include "gtkmain.h"
 #include "gtkmarshalers.h"
 #include "gtkplug.h"